import request from '@/utils/request'

export function getTypeList() {
  return request({
    url: '/empTypeController/typeList',
    method: 'get'
  })
}

export function handleInduction(data) {
  return request({
    url: '/empDetailController/handleInduction',
    method: 'post',
    data
  })
}

export function pageEmpSearch(current,pageSize,data) {

  return request({
    url: '/empDetailController/pageEmpSearch',
    method: 'get',
    params:{
      current,
      pageSize,
      ...data
    }
  })
}
export function noticeEmail(data) {
  return request({
    url: '/empDetailController/notice',
    method: 'post',
    data
  })
}

export function transferPosition(data) {
  return request({
    url: '/empDetailController/postTransfer',
    method: 'post',
    data
  })
}

export function editRemarks(data) {
  return request({
    url: '/empDetailController/editRemarks',
    method: 'post',
    data
  })
}


